import request from '@/utils/request'

// 查询疏散通道列表
export function listWbExit(query) {
  return request({
    url: '/wb/wbExit/list',
    method: 'get',
    params: query
  })
}

// 查询疏散通道详细
export function getWbExit(id) {
  return request({
    url: '/wb/wbExit/' + id,
    method: 'get'
  })
}

// 新增疏散通道
export function addWbExit(data) {
  return request({
    url: '/wb/wbExit',
    method: 'post',
    data: data
  })
}

// 修改疏散通道
export function updateWbExit(data) {
  return request({
    url: '/wb/wbExit',
    method: 'put',
    data: data
  })
}

// 删除疏散通道
export function delWbExit(id) {
  return request({
    url: '/wb/wbExit/' + id,
    method: 'delete'
  })
}
